UCF STIG Viewer Logo

The /etc/passwd file must not contain password hashes.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22347 GEN001470 SV-35261r1_rule ECLP-1 Medium
Description
If password hashes are readable by non-administrators, the passwords are subject to attack through lookup tables or cryptographic weaknesses in the hashes.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2012-05-25

Details

Check Text ( C-35097r1_chk )
Verify no password hashes are present in /etc/passwd.
# cat /etc/passwd | cut -f 2,2 -d ":"

The above command should not return anything other than a "*" character. If any password hashes are returned, this is a finding.
Fix Text (F-30366r1_fix)
Migrate /etc/passwd password hashes via the Trusted Computing mode, i.e., a location subordinate to the /tcb directory.
# tsconvert

Or use SAM for conversion to Trusted Mode, i.e.,

# sam

Then

Auditing and Security -> Actions -> Convert the System